﻿using QG.FrontDesk.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace QG.FrontDesk.DAL.IRepository
{
    public interface IPositionInfoRepository
    {
        /// <summary>
        /// 得到职位信息
        /// </summary>
        /// <returns></returns>
        List<PositionInfo> GetPositionInfos(string type, string word,Nullable<int> ClassId, Nullable<int> level);

        /// <summary>
        /// 得到对应的职位信息
        /// </summary>
        /// <param name="CompId"></param>
        /// <returns></returns>
        List<PositionInfo> GetPosition(int CompId,bool statu);

        /// <summary>
        /// 改变职位状态
        /// </summary>
        /// <param name="id"></param>
        /// <param name="statu"></param>
        /// <returns></returns>
        int UpdatePositionStatu(int id, bool statu);
    }
}
